$OpenBSD: patch-src_sio_syncio_tls_c,v 1.1 2016/03/06 12:17:17 ajacoutot Exp $

Fix build with GnutTLS 3.4.
(from upstream's 4.15.2beta release)

--- src/sio/syncio_tls.c.orig	Sun Mar  6 10:04:31 2016
+++ src/sio/syncio_tls.c	Sun Mar  6 10:04:52 2016
@@ -364,7 +364,7 @@ int GWEN_SyncIo_Tls_Prepare(GWEN_SYNCIO *sio) {
     const int proto_prio[2] = { GNUTLS_SSL3, 0 };
 
     DBG_INFO(GWEN_LOGDOMAIN, "Forcing SSL v3");
-    rv=gnutls_protocol_set_priority(xio->session, proto_prio);
+    rv=gnutls_priority_set(xio->session, proto_prio);
     if (rv) {
       DBG_ERROR(GWEN_LOGDOMAIN, "gnutls_protocol_set_priority: %d (%s)", rv, gnutls_strerror(rv));
       gnutls_deinit(xio->session);
